package com.ubxtech.web.handler.auth;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

/**
 * @author Victor.Xiao
 * @since 2022-01-17 11:32
 **/
public interface LoginAuthService {

    /**
     * 鉴权
     * @author Victor.Xiao
     * @since 2022-01-17 11:36
     * @param request request
     * @param response response
     * @param handler handler
     * @return boolean
    */
    boolean auth(HttpServletRequest request, HttpServletResponse response, Object handler);
}
